import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"
import './filters'

import ViewUI from 'view-design' 
import iView from 'iview'
import{Message}from'iview';
// import 'iview/dist/styles/iview.css'
import iviewArea from 'iview-area'
import 'view-design/dist/styles/iview.css'
Vue.use(ViewUI)
Vue.use(iviewArea)

import "./assets/iconfont/iconfont.css"

import VueQuillEditor from "vue-quill-editor"
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor)

import './iview-theme/index.less'
import './assets/css/index.less'

import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')

Vue.use(VideoPlayer)
Vue.use(iView)

import vueEsign from 'vue-esign'
Vue.use(vueEsign)
Vue.config.productionTip = false
Vue.prototype.$Message=Message

import directives from '@/common/utils/directives.js'
Vue.use(directives)

window.vm = new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app")